package com.ev.scm.dao;

import com.ev.scm.domain.LogisticsDO;
import com.ev.scm.vo.LogisticsPageParam;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 文件名称： com.ev.scm.dao.LogisticsDao.java</br>
 * 初始作者： ev-monitor</br>
 * 创建日期： 2020-07-02 16:32:19</br>
 * 功能说明： 发货单信息 <br/>
 * =================================================<br/>
 * 修改记录：<br/>
 * 修改作者        日期       修改内容<br/>
 * ================================================<br/>
 * Copyright (c) 2020-2021 .All rights reserved.<br/>
 */
@Mapper
public interface LogisticsDao {

	LogisticsDO get(Long id);
	
	List<LogisticsDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(LogisticsDO logistics);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	int batchSave(List<LogisticsDO> param);

	List<Map<String, Object>> pageList(LogisticsPageParam pageParam);

	int pageCount(LogisticsPageParam pageParam);

    List<Map<String, Object>> listByOutIds(Long[] outIds);

	int batchRemoveByOutIds(Long[] outIds);

	Map<String, Object> getByOutId(Long outId);

	int updateByOutId(LogisticsDO logistics);
}
